package cn.ccenjie.wsy.social.github.api;

import org.springframework.social.oauth2.OAuth2Template;

public class GithubOauth2Template extends OAuth2Template {

    private static final String URL_AUTHORIZE = "https://github.com/login/oauth/authorize";

    private static final String URL_ACCESSTOKEN = "https://github.com/login/oauth/access_token";


    public GithubOauth2Template(String clientId, String clientSecret) {
        super(clientId, clientSecret, URL_AUTHORIZE, URL_ACCESSTOKEN);
        setUseParametersForClientAuthentication(true);
    }


}
